import request from '@/utils/request'

// 查询信息
export function listEquipment(query) {
  return request({
    url: '/equipment/equipment/find',
    method: 'get',
    params: query
  })
}

// 查询下拉信息表栏舍编码
export function findPhouseCode(query) {
  return request({
    url: '/equipment/equipment/findCode/',
    method: 'get',
    params: query
  })
}

//获取所有栏舍编号
export function findPhouseCodeAll() {
  return request({
    url: '/material/consume/findPhouseCode',
    method: 'get'
  })
}

